package UtranNRMSystem;
/**
 * Generated from IDL enum "SAVendorNametype".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SAVendorNametype
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _OtherVendor = 0;
	public static final SAVendorNametype OtherVendor = new SAVendorNametype(_OtherVendor);
	public static final int _GuoXin = 1;
	public static final SAVendorNametype GuoXin = new SAVendorNametype(_GuoXin);
	public static final int _HaiTian = 2;
	public static final SAVendorNametype HaiTian = new SAVendorNametype(_HaiTian);
	public static final int _JieSai = 3;
	public static final SAVendorNametype JieSai = new SAVendorNametype(_JieSai);
	public static final int _JieShiTong = 4;
	public static final SAVendorNametype JieShiTong = new SAVendorNametype(_JieShiTong);
	public static final int _JingXin = 5;
	public static final SAVendorNametype JingXin = new SAVendorNametype(_JingXin);
	public static final int _MoBi = 6;
	public static final SAVendorNametype MoBi = new SAVendorNametype(_MoBi);
	public static final int _TongYu = 7;
	public static final SAVendorNametype TongYu = new SAVendorNametype(_TongYu);
	public static final int _Andrew = 8;
	public static final SAVendorNametype Andrew = new SAVendorNametype(_Andrew);
	public static final int _ShengLu = 9;
	public static final SAVendorNametype ShengLu = new SAVendorNametype(_ShengLu);
	public static final int _HongXin = 10;
	public static final SAVendorNametype HongXin = new SAVendorNametype(_HongXin);
	public int value()
	{
		return value;
	}
	public static SAVendorNametype from_int(int value)
	{
		switch (value) {
			case _OtherVendor: return OtherVendor;
			case _GuoXin: return GuoXin;
			case _HaiTian: return HaiTian;
			case _JieSai: return JieSai;
			case _JieShiTong: return JieShiTong;
			case _JingXin: return JingXin;
			case _MoBi: return MoBi;
			case _TongYu: return TongYu;
			case _Andrew: return Andrew;
			case _ShengLu: return ShengLu;
			case _HongXin: return HongXin;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _OtherVendor: return "OtherVendor";
			case _GuoXin: return "GuoXin";
			case _HaiTian: return "HaiTian";
			case _JieSai: return "JieSai";
			case _JieShiTong: return "JieShiTong";
			case _JingXin: return "JingXin";
			case _MoBi: return "MoBi";
			case _TongYu: return "TongYu";
			case _Andrew: return "Andrew";
			case _ShengLu: return "ShengLu";
			case _HongXin: return "HongXin";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected SAVendorNametype(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
